package com.zkca.xf.model.javabean;

import java.util.List;

/**
 * Created by pc on 2018/8/7.
 */

public class NewsBeab {


    /**
     * result : 0
     * info : OK
     * totalRow : 2
     * totalpage : 1
     * pageNum : 1
     * pageSize : 10
     * size : 2
     * data : [{"id":2011,"platformid":null,"deptId":1,"deptName":"长春市公安消防支队","unitId":1,"unitName":"吉林省中科城安物联科技有限公司","unitAddress":"朝阳区前进大街繁荣路交汇力旺大厦B座","installPosition":"","userCode":"18001176289","userId":2,"userName":"吉林省中科城安物联科技有限公司","msgType":5,"msgContext":"平榆高速：满载树苗货车起火，消防员紧急救援","msgCode":"吉林省公安消防总队","msgExtno":"/message/880a646828064a169386506292f8f0a7/cover.png","sendTime":1547284929000,"reportTime":null,"sendResult":null,"devType":"0000","longitude":null,"latitude":null,"type1":null,"type2":null,"type3":null,"did":null,"devId":null,"devStatus":null,"msgId":"181B637FC4DF4A06B1CEE49A9A4442475","rtnResult":0,"rtnErrmsg":"","rtnExt":null,"rtnFee":2,"rtnSid":null,"rtnTplid":null,"rtnDesc":"推送成功","rtnRtime":null,"rtnCfrom":"/message/880a646828064a169386506292f8f0a7/message.html","rtnAtime":null,"rtnEtime":null,"rtnCtime":null},{"id":2010,"platformid":null,"deptId":1,"deptName":"长春市公安消防支队","unitId":1,"unitName":"吉林省中科城安物联科技有限公司","unitAddress":"朝阳区前进大街繁荣路交汇力旺大厦B座","installPosition":"","userCode":"18001176289","userId":2,"userName":"吉林省中科城安物联科技有限公司","msgType":5,"msgContext":"应急管理部消防救援局 每年近一半火灾发生在冬季","msgCode":"吉林省公安消防总队","msgExtno":"","sendTime":1547284845000,"reportTime":null,"sendResult":null,"devType":"0000","longitude":null,"latitude":null,"type1":null,"type2":null,"type3":null,"did":null,"devId":null,"devStatus":null,"msgId":"5DEBA11EC2494524A090C2EA2D4DFB1D5","rtnResult":0,"rtnErrmsg":"","rtnExt":null,"rtnFee":1,"rtnSid":null,"rtnTplid":null,"rtnDesc":"推送成功","rtnRtime":null,"rtnCfrom":"/message/6fd052fc1e1a41cb8439be4778d6a712/message.html","rtnAtime":null,"rtnEtime":null,"rtnCtime":null}]
     */

    private int result;
    private String info;
    private int totalRow;
    private int totalpage;
    private int pageNum;
    private int pageSize;
    private int size;
    private List<DataBean> data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public int getTotalRow() {
        return totalRow;
    }

    public void setTotalRow(int totalRow) {
        this.totalRow = totalRow;
    }

    public int getTotalpage() {
        return totalpage;
    }

    public void setTotalpage(int totalpage) {
        this.totalpage = totalpage;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 2011
         * platformid : null
         * deptId : 1
         * deptName : 长春市公安消防支队
         * unitId : 1
         * unitName : 吉林省中科城安物联科技有限公司
         * unitAddress : 朝阳区前进大街繁荣路交汇力旺大厦B座
         * installPosition :
         * userCode : 18001176289
         * userId : 2
         * userName : 吉林省中科城安物联科技有限公司
         * msgType : 5
         * msgContext : 平榆高速：满载树苗货车起火，消防员紧急救援
         * msgCode : 吉林省公安消防总队
         * msgExtno : /message/880a646828064a169386506292f8f0a7/cover.png
         * sendTime : 1547284929000
         * reportTime : null
         * sendResult : null
         * devType : 0000
         * longitude : null
         * latitude : null
         * type1 : null
         * type2 : null
         * type3 : null
         * did : null
         * devId : null
         * devStatus : null
         * msgId : 181B637FC4DF4A06B1CEE49A9A4442475
         * rtnResult : 0
         * rtnErrmsg :
         * rtnExt : null
         * rtnFee : 2
         * rtnSid : null
         * rtnTplid : null
         * rtnDesc : 推送成功
         * rtnRtime : null
         * rtnCfrom : /message/880a646828064a169386506292f8f0a7/message.html
         * rtnAtime : null
         * rtnEtime : null
         * rtnCtime : null
         */

        private int id;
        private Object platformid;
        private int deptId;
        private String deptName;
        private int unitId;
        private String unitName;
        private String unitAddress;
        private String installPosition;
        private String userCode;
        private int userId;
        private String userName;
        private int msgType;
        private String msgContext;
        private String msgCode;
        private String msgExtno;
        private long sendTime;
        private Object reportTime;
        private Object sendResult;
        private String devType;
        private Object longitude;
        private Object latitude;
        private Object type1;
        private Object type2;
        private Object type3;
        private Object did;
        private Object devId;
        private Object devStatus;
        private String msgId;
        private int rtnResult;
        private String rtnErrmsg;
        private Object rtnExt;
        private int rtnFee;
        private Object rtnSid;
        private Object rtnTplid;
        private String rtnDesc;
        private Object rtnRtime;
        private String rtnCfrom;
        private Object rtnAtime;
        private Object rtnEtime;
        private Object rtnCtime;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public Object getPlatformid() {
            return platformid;
        }

        public void setPlatformid(Object platformid) {
            this.platformid = platformid;
        }

        public int getDeptId() {
            return deptId;
        }

        public void setDeptId(int deptId) {
            this.deptId = deptId;
        }

        public String getDeptName() {
            return deptName;
        }

        public void setDeptName(String deptName) {
            this.deptName = deptName;
        }

        public int getUnitId() {
            return unitId;
        }

        public void setUnitId(int unitId) {
            this.unitId = unitId;
        }

        public String getUnitName() {
            return unitName;
        }

        public void setUnitName(String unitName) {
            this.unitName = unitName;
        }

        public String getUnitAddress() {
            return unitAddress;
        }

        public void setUnitAddress(String unitAddress) {
            this.unitAddress = unitAddress;
        }

        public String getInstallPosition() {
            return installPosition;
        }

        public void setInstallPosition(String installPosition) {
            this.installPosition = installPosition;
        }

        public String getUserCode() {
            return userCode;
        }

        public void setUserCode(String userCode) {
            this.userCode = userCode;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public int getMsgType() {
            return msgType;
        }

        public void setMsgType(int msgType) {
            this.msgType = msgType;
        }

        public String getMsgContext() {
            return msgContext;
        }

        public void setMsgContext(String msgContext) {
            this.msgContext = msgContext;
        }

        public String getMsgCode() {
            return msgCode;
        }

        public void setMsgCode(String msgCode) {
            this.msgCode = msgCode;
        }

        public String getMsgExtno() {
            return msgExtno;
        }

        public void setMsgExtno(String msgExtno) {
            this.msgExtno = msgExtno;
        }

        public long getSendTime() {
            return sendTime;
        }

        public void setSendTime(long sendTime) {
            this.sendTime = sendTime;
        }

        public Object getReportTime() {
            return reportTime;
        }

        public void setReportTime(Object reportTime) {
            this.reportTime = reportTime;
        }

        public Object getSendResult() {
            return sendResult;
        }

        public void setSendResult(Object sendResult) {
            this.sendResult = sendResult;
        }

        public String getDevType() {
            return devType;
        }

        public void setDevType(String devType) {
            this.devType = devType;
        }

        public Object getLongitude() {
            return longitude;
        }

        public void setLongitude(Object longitude) {
            this.longitude = longitude;
        }

        public Object getLatitude() {
            return latitude;
        }

        public void setLatitude(Object latitude) {
            this.latitude = latitude;
        }

        public Object getType1() {
            return type1;
        }

        public void setType1(Object type1) {
            this.type1 = type1;
        }

        public Object getType2() {
            return type2;
        }

        public void setType2(Object type2) {
            this.type2 = type2;
        }

        public Object getType3() {
            return type3;
        }

        public void setType3(Object type3) {
            this.type3 = type3;
        }

        public Object getDid() {
            return did;
        }

        public void setDid(Object did) {
            this.did = did;
        }

        public Object getDevId() {
            return devId;
        }

        public void setDevId(Object devId) {
            this.devId = devId;
        }

        public Object getDevStatus() {
            return devStatus;
        }

        public void setDevStatus(Object devStatus) {
            this.devStatus = devStatus;
        }

        public String getMsgId() {
            return msgId;
        }

        public void setMsgId(String msgId) {
            this.msgId = msgId;
        }

        public int getRtnResult() {
            return rtnResult;
        }

        public void setRtnResult(int rtnResult) {
            this.rtnResult = rtnResult;
        }

        public String getRtnErrmsg() {
            return rtnErrmsg;
        }

        public void setRtnErrmsg(String rtnErrmsg) {
            this.rtnErrmsg = rtnErrmsg;
        }

        public Object getRtnExt() {
            return rtnExt;
        }

        public void setRtnExt(Object rtnExt) {
            this.rtnExt = rtnExt;
        }

        public int getRtnFee() {
            return rtnFee;
        }

        public void setRtnFee(int rtnFee) {
            this.rtnFee = rtnFee;
        }

        public Object getRtnSid() {
            return rtnSid;
        }

        public void setRtnSid(Object rtnSid) {
            this.rtnSid = rtnSid;
        }

        public Object getRtnTplid() {
            return rtnTplid;
        }

        public void setRtnTplid(Object rtnTplid) {
            this.rtnTplid = rtnTplid;
        }

        public String getRtnDesc() {
            return rtnDesc;
        }

        public void setRtnDesc(String rtnDesc) {
            this.rtnDesc = rtnDesc;
        }

        public Object getRtnRtime() {
            return rtnRtime;
        }

        public void setRtnRtime(Object rtnRtime) {
            this.rtnRtime = rtnRtime;
        }

        public String getRtnCfrom() {
            return rtnCfrom;
        }

        public void setRtnCfrom(String rtnCfrom) {
            this.rtnCfrom = rtnCfrom;
        }

        public Object getRtnAtime() {
            return rtnAtime;
        }

        public void setRtnAtime(Object rtnAtime) {
            this.rtnAtime = rtnAtime;
        }

        public Object getRtnEtime() {
            return rtnEtime;
        }

        public void setRtnEtime(Object rtnEtime) {
            this.rtnEtime = rtnEtime;
        }

        public Object getRtnCtime() {
            return rtnCtime;
        }

        public void setRtnCtime(Object rtnCtime) {
            this.rtnCtime = rtnCtime;
        }
    }
}
